package com.uwlaser.service.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
* @author zk-Qin
* @date 2022-05-11
*/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class ProductCodingRuleDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "编码规则ID")
    private Integer codingId;

    @ApiModelProperty(value = "规则类型")
    private String ruleType;

    @ApiModelProperty(value = "规则顺序")
    private Integer ruleSort;

    @ApiModelProperty(value = "规则内容")
    private String ruleContent;

    @ApiModelProperty(value = "生成的内容")
    private String finalContent;

    @ApiModelProperty(value = "规则JSON")
    private String ruleJson;

    @ApiModelProperty(value = "描述")
    private String describes;

    @ApiModelProperty(value = "日期规则对象")
    private ProductCodingDateDto codingDate;

    @ApiModelProperty(value = "序列规则对象")
    private ProductCodingSeriesDto codingSeries;
}
